package com.teamin.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 任务日志
 */
public class TaskLogEntity implements Serializable {

	@ApiModelProperty(value = "任务ID")
	private Long taskId;

	@ApiModelProperty(value = "ID")
	private Long id;

	@ApiModelProperty(value = "日志的记录时间")
	private Timestamp createTime;

	@ApiModelProperty(value = "操作,例增,删改查")
	private String handle ;

	@ApiModelProperty(value = "操作字段,如名称,权限")
	private String handleField ;

	@ApiModelProperty(value = "操作人,0为管理员")
	private String handleUser;

	@ApiModelProperty(value = "操作人名称")
	private String handleUserName;

	@ApiModelProperty(value = "具体的值")
	private String value;

	@ApiModelProperty(value = "旧 的具体的值")
	private String oldValue;

	public Long getTaskId() {
		return taskId;
	}

	public void setTaskId(Long taskId) {
		this.taskId = taskId;
	}

	public String getOldValue() {
		return oldValue;
	}

	public void setOldValue(String oldValue) {
		this.oldValue = oldValue;
	}

	public Long getId() {
		return id;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public String getHandle() {
		return handle;
	}

	public String getHandleField() {
		return handleField;
	}

	public String getHandleUser() {
		return handleUser;
	}

	public String getHandleUserName() {
		return handleUserName;
	}

	public String getValue() {
		return value;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public void setHandle(String handle) {
		this.handle = handle;
	}

	public void setHandleField(String handleField) {
		this.handleField = handleField;
	}

	public void setHandleUser(String handleUser) {
		this.handleUser = handleUser;
	}

	public void setHandleUserName(String handleUserName) {
		this.handleUserName = handleUserName;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
